package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.dto.activity.ActivityDTO;
import com.qk.entity.Activity;

import java.util.List;

/**
 * @author: 20918
 * @date: 2025/10/10 18:24
 * @description:
 */
public interface ActivityService {
    PageResult<Activity> list(ActivityDTO activityDTO);

    void addActivity(Activity activity);

    Activity getById(Integer id);

    void update(Activity activity);

    void delete(Integer id);

    List<Activity> listOfType(Integer type);
}
